package com.peakmain.homemodule.contarct;

import com.peakmain.wanandroid.netmodule.base.BaseContract;
import com.peakmain.wanandroid.netmodule.bean.home.HotkeyBean;
import com.peakmain.wanandroid.netmodule.bean.home.SearchResultBean;

import java.util.List;

/**
 * author: peakmain
 * createdata：2019/7/23
 * mail: 2726449200@qq.com
 * desiption:
 */
public interface HotkeyContract {
    interface  View extends BaseContract.BaseView{

        void showHotKeySuccess(List<HotkeyBean> data);

        void showSearchResultSuccess(SearchResultBean bean, boolean isPullDown, boolean isSilence);
    }

    interface Presenter extends BaseContract.BasePresenter<View>{
        void getHotkeySearch();

        void getSearchResult(int page, String key, boolean isPullDown, boolean isSilence);
    }
}
